package com.chouxiaozi.dubboprovider.service;

import com.chouxiaozi.IHelloService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Value;

@DubboService
public class HelloServiceImpl implements IHelloService {

    @Value("${dubbo.protocol.port}")
    private Integer protocolPort;

    @Override
    public String sayHello(String info) {
        return protocolPort+ ">>receive: "+info;
    }
}
